package com.ht.base.system.biz.init;

import com.ht.base.system.biz.manager.OnOffConfManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @Author：hdengxian
 * @Date：2024/3/28 17:28
 */
@Component
public class InitOnOffConfManager implements ApplicationRunner {
    Logger logger = LoggerFactory.getLogger(InitOnOffConfManager.class);
    @Resource
    private OnOffConfManager onOffConfManager;

    @Override
    public void run(ApplicationArguments args) throws Exception {
//        onOffConfManager.initToRedis();
//        logger.info("InitOnOffConfManager.run - 初始化系统开关配置到Redis数据库成功");
    }
}
